package com.qdcadc.mvc.impl;

import com.alibaba.fastjson.JSONObject;
import com.qdcadc.service.DataForwardService;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;

public class DataForwardServiceImpl implements DataForwardService {
    Logger logger = LogManager.getLogger(DataForwardServiceImpl.class);
    @Override
    public String sendRealTimeDataToCloud(JSONObject jsonObject) {
        logger.info(jsonObject.toJSONString());
        return jsonObject.toString();
    }
}
